package com.bootdo.loa.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;
import com.bootdo.loa.dao.TbCommentDao;
import com.bootdo.loa.domain.TbCommentDO;
import com.bootdo.loa.service.TbCommentService;




@Service
public class TbCommentServiceImpl implements TbCommentService {
	@Autowired
	private TbCommentDao commentDao;

	@Override
	public TbCommentDO get(Integer id) {
		// TODO Auto-generated method stub
		return commentDao.get(id);
	}

	@Override
	public List<TbCommentDO> list(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return commentDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return commentDao.count(map);
	}

	@Override
	public int save(TbCommentDO tbMedia) {
		// TODO Auto-generated method stub
		return commentDao.save(tbMedia);
	}

	@Override
	public int update(TbCommentDO tbMedia) {
		// TODO Auto-generated method stub
		return commentDao.update(tbMedia);
	}

	@Override
	public int remove(Integer id) {
		// TODO Auto-generated method stub
		return commentDao.remove(id);
	}

	@Override
	public int batchRemove(Integer[] ids) {
		// TODO Auto-generated method stub
		return commentDao.batchRemove(ids);
	}
	
	
	
	
	
	
}
